package com.newer.his.BasicData.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.newer.his.common.entity.DoctorDept;
import com.newer.his.common.mapper.DoctordeptMapper;

@RestController
@RequestMapping("/doctordept")
public class doctordeptController {
	
	@Autowired
	DoctordeptMapper doctordeptMapper;
	
	@GetMapping
	public List<DoctorDept> getalldoctordept() {
		return doctordeptMapper.getall();
		
		
	}

}
